{% extends "base.html" %}
{% import "_my_wtf_macros.html" as my_wtf_macros %}

{% block title %}万屏时代OPC--编辑虚拟号{% endblock %}

{% block panel_heading %}
  万屏时代OPC--编辑虚拟号
{% endblock %}

{% block panel_body %}
    <form class="form form-inline form-group-sm" id="edit-virtual-number-form" action="{{ url_for('axb_bp.edit_virtual_number', id=virtual_number.id) }}" method="post" role="form">

      <div class="well well-sm">虚拟号信息</div>
        {{ my_wtf_macros.form_field(form.tel_a, div_col=4, label_col=4, field_col=7) }}
        {{ my_wtf_macros.form_field(form.tel_b, div_col=4, label_col=4, field_col=7) }}
        {{ my_wtf_macros.form_field(form.tel_x, div_col=4, label_col=4, field_col=7) }}
        {{ my_wtf_macros.form_field(form.valid, div_col=4, label_col=4, field_col=7) }}
        <div class="clearfix visible-xs-block visible-sm-block visible-md-block visible-lg-block"></div>

      <div class="form-group col-xs-12">
        <button type="submit" name="submit" class="btn btn-success pull-right">保存</button>
      </div>
    </form>

{% endblock %}

{% block scripts %}
{{ super() }}
{% endblock %}